package com.jy.api.healthreord.dto.yl.yaopincf;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class YaoPinCFJLDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 医疗机构代码 */
    @ApiModelProperty(name = "医疗机构代码",notes = "")
    private String yiliaojgdm ;
    /** 院区ID */
    @ApiModelProperty(name = "院区ID",notes = "")
    private String yuanquid ;
    /** 处方ID */
    @ApiModelProperty(name = "处方ID",notes = "")
    private String chufangid ;
    /** 处方类别代码 */
    @ApiModelProperty(name = "处方类别代码",notes = "")
    private Integer chufanglb ;
    /** 开单类型 */
    @ApiModelProperty(name = "开单类型",notes = "")
    private String kaidanlx ;
    /** 申请单ID */
    @ApiModelProperty(name = "申请单ID",notes = "")
    private String shenqingdid ;
    /** 院区名称 */
    @ApiModelProperty(name = "院区名称",notes = "")
    private String yuanqumc ;
    /** 门诊就诊流水号 */
    @ApiModelProperty(name = "门诊就诊流水号",notes = "")
    private String menzhenjzlsh ;
    /** 病人ID */
    @ApiModelProperty(name = "病人ID",notes = "")
    private String bingrenid ;
    /** 姓名 */
    @ApiModelProperty(name = "姓名",notes = "")
    private String xingming ;
    /** 性别代码 */
    @ApiModelProperty(name = "性别代码",notes = "")
    private Integer xingbiedm ;
    /** 性别名称 */
    @ApiModelProperty(name = "性别名称",notes = "")
    private String xingbiemc ;
    /** 出生日期 */
    @ApiModelProperty(name = "出生日期",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chushengrq ;
    /** 是否急诊 */
    @ApiModelProperty(name = "是否急诊",notes = "")
    private Integer shifoujz ;
    /** 互联网处方标志 */
    @ApiModelProperty(name = "互联网处方标志",notes = "")
    private Integer hulianwbz ;
    /** 处方流转标志 */
    @ApiModelProperty(name = "处方流转标志",notes = "")
    private Integer chufanglzbz ;
    /** 信用付标志 */
    @ApiModelProperty(name = "信用付标志",notes = "")
    private Integer xinyongfbz ;
    /** 开单科室代码 */
    @ApiModelProperty(name = "开单科室代码",notes = "")
    private String kaidanksdm ;
    /** 开单科室名称 */
    @ApiModelProperty(name = "开单科室名称",notes = "")
    private String kaidanksmc ;
    /** 处方辨识 */
    @ApiModelProperty(name = "处方辨识",notes = "")
    private Integer chufangbs ;
    /** 处方有效天数 */
    @ApiModelProperty(name = "处方有效天数",notes = "")
    private Integer chufangyxts ;
    /** 处方金额 */
    @ApiModelProperty(name = "处方金额",notes = "")
    private BigDecimal chufangje ;
    /** 饮片单帖价格 */
    @ApiModelProperty(name = "饮片单帖价格",notes = "")
    private BigDecimal yinpiandtjg ;
    /** 膏方标志 */
    @ApiModelProperty(name = "膏方标志",notes = "")
    private Integer gaofangbz ;
    /** 处方帖数 */
    @ApiModelProperty(name = "处方帖数",notes = "")
    private Double chufangts ;
    /** 治则治法 */
    @ApiModelProperty(name = "治则治法",notes = "")
    private String zhizezf ;
    /** 开方时间 */
    @ApiModelProperty(name = "开方时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date kaifangsj ;
    /** 处方开立医师代码 */
    @ApiModelProperty(name = "处方开立医师代码",notes = "")
    private String chufangklysdm ;
    /** 处方开立医师姓名 */
    @ApiModelProperty(name = "处方开立医师姓名",notes = "")
    private String chufangklysxm ;
    /** 开方医师证件类型 */
    @ApiModelProperty(name = "开方医师证件类型",notes = "")
    private String kaifangyszjlx ;
    /** 开方医师证件号码 */
    @ApiModelProperty(name = "开方医师证件号码",notes = "")
    private String kaifangyszjhm ;
    /** 处方审核药剂师姓名 */
    @ApiModelProperty(name = "处方审核药剂师姓名",notes = "")
    private String chufangshyjsxm ;
    /** 审方医师证件类型 */
    @ApiModelProperty(name = "审方医师证件类型",notes = "")
    private String shenfangyszjlx ;
    /** 审方医师证件号码 */
    @ApiModelProperty(name = "审方医师证件号码",notes = "")
    private String shenfangyszjhm ;
    /** 审方时间 */
    @ApiModelProperty(name = "审方时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date shenfangsj ;
    /** 调配药剂师姓名 */
    @ApiModelProperty(name = "调配药剂师姓名",notes = "")
    private String peiyaoysxm ;
    /** 配药医师证件类型 */
    @ApiModelProperty(name = "配药医师证件类型",notes = "")
    private String peiyaoyszjlx ;
    /** 配药医师证件号码 */
    @ApiModelProperty(name = "配药医师证件号码",notes = "")
    private String peiyaoyszjhm ;
    /** 处方核对药剂师姓名 */
    @ApiModelProperty(name = "处方核对药剂师姓名",notes = "")
    private String chufanghdyjsxm ;
    /** 核对医师证件类型 */
    @ApiModelProperty(name = "核对医师证件类型",notes = "")
    private String heduiyszjlx ;
    /** 核对医师证件号码 */
    @ApiModelProperty(name = "核对医师证件号码",notes = "")
    private String heduiyssfzh ;
    /** 处方发药药剂师姓名 */
    @ApiModelProperty(name = "处方发药药剂师姓名",notes = "")
    private String fyyjsxm ;
    /** 发药医师证件类型 */
    @ApiModelProperty(name = "发药医师证件类型",notes = "")
    private String fayaoyszjlx ;
    /** 发药医师身份证号 */
    @ApiModelProperty(name = "发药医师身份证号",notes = "")
    private String fayaoyssfzh ;
    /** 发药时间 */
    @ApiModelProperty(name = "发药时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fayaosj ;
    /** 发药药房 */
    @ApiModelProperty(name = "发药药房",notes = "")
    private String fayaoyf ;
    /** 备注 */
    @ApiModelProperty(name = "备注",notes = "")
    private String beizhu ;
    /** 作废标志 */
    @ApiModelProperty(name = "作废标志",notes = "")
    private Integer zuofeibz ;
    /** 业务数据生成时间 */
    @ApiModelProperty(name = "业务数据生成时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date shujuscsj ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinsj ;
    /** ID */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private String id ;
    /** APPID */
    @ApiModelProperty(name = "APPID",notes = "")
    private String appid ;
    /** 首次上传时间 */
    @ApiModelProperty(name = "首次上传时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjiansj ;
    /** 最后更新时间 */
    @ApiModelProperty(name = "最后更新时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date xiugaisj ;
    /** 医疗机构名称 */
    @ApiModelProperty(name = "医疗机构名称",notes = "")
    private String yiliaojgmc ;
    /** 病人信息表的主键id;没有时默认为0 */
    @ApiModelProperty(name = "病人信息表的主键id",notes = "没有时默认为0")
    private String patientid ;
    /** 是否收费 */
    @ApiModelProperty(name = "是否收费",notes = "")
    private Integer shoufeibz ;
    /** 结算流水号 */
    @ApiModelProperty(name = "结算流水号",notes = "")
    private String jiesuanlsh ;

    private List<MenZhenCFMXDto> menZhenCFMXDtoList;


}
